//
//  YQPCommentListModel.m
//  MuYing
//
//  Created by caominglei on 2019/12/25.
//  Copyright © 2019 TBB. All rights reserved.
//

#import "YQPCommentListModel.h"

@implementation YQPCommentListModel
+ (NSDictionary *)mj_objectClassInArray
{
    return @{@"list":YQPCommentModel.class};
}
@end

@implementation YQPCommentModel
-(NSString *)createTimeStr {
    if (!_createTimeStr) {
        if (self.createTime) {
            _createTimeStr = [NSDate timeToDateStr:[self.createTime doubleValue]];
        }else{
            _createTimeStr = [NSDate timeToDateStr:[self.commentTime doubleValue]];
        }
    }
    return _createTimeStr;
}
@end
